<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    ul, li {
      list-style: none;
    }

    ul {
      width: 1200px;
      display: flex;
      flex-wrap: wrap;
      margin: 0 auto;
      justify-content: space-between;
      padding-top: 10px;
    }

    li {
      width: 290px;
      border: 1px solid #333;
      margin-bottom: 10px;
      padding: 5px;
      box-sizing: border-box;
    }

    li > img {
      width: 278px;
      display: block;
    }
    header {
      height: 200px;
      background-color: cadetblue;
      text-align: center;
      line-height: 200px;
      font-size: 50px;
    }
  </style>
</head>
<body>
  <header>顶部内容</header>
  <ul>
  
    <li>
      <img src="https://img.alicdn.com/bao/uploaded/https://img.alicdn.com/imgextra/i3/2251059038/O1CN01zJEpaN2GdSG1Xvo8y_!!2251059038.jpg" alt="">
      <p>音乐节名称</p>
      <p>城市: xx</p>
      <p>地址: xx</p>
      <p>价格: xx</p>
      <p>时间: xx</p>
    </li> 

  </ul>
</body>
</html>
<script src="./dm_list.js"></script>

<script>
console.log(list);
</script>